home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
cdrom
/
cdlock.zip
/
LOCK-CD.DOC
< prev
next >
Wrap
Text File
|
1989-07-18
|
6KB
|
140 lines
Tomcat Softworks, Lynwood, Ca
Contact: 71777,2564
Romlock Documentation
Date: 09Jul89
Lock and unlock software requires:
Hitachi CD-ROM drive: CDR1503S, CDR3500 or CDR3600
(or 100% Hitachi compatible similar model)
Hitachi PC bus interface card: CDIFI3, CDIFI4, CDIFI4A, CDIF35A
CDIF25A, CDIF25A2
IBM Compatible PC, XT, AT or PS/2 25 or 30 class computer.
One to four drives at: 300, 200, 220, 320, 340 or 360 base
address
An application which does not reset the CD-ROM drive when it
starts.
Applications which use Microsoft Extensions generally will not
reset the drive after the MSCDEX.EXE is executed.
These files send a software lock command to all four drives (0-3)
at the address (LOCKxxx), and then exit to DOS:
LOCK300.EXE LOCK200.EXE LOCK220.EXE LOCK320.EXE LOCK340.EXE
LOCK360.EXE
Select the file which matches the base address of your interface
card. Copy the file from the distribution disk. Rename it as
needed.
For example LOCK.EXE
Power on your CD-ROM drive, insert the disc, and execute the lock
file by entering its name. (ie: LOCK ) Test the operation by
pressing the Eject button (CDR3500/3600) or Open/Close button
(CDR1503S). If the drive is locked, select the similar unlock
file, and execute it to verify unlock operation.
If lock did not work, the program address may not match the card
address. You can determine the Port address in use on your
CD-ROM drive system by inspecting the file named CONFIG.SYS in
the root directory of your boot drive. Change to the root
directory on your system, and enter:
TYPE CONFIG.SYS
There will generally be at least the following lines:
FILES=20
BUFFERS=20
LASTDRIVE=Z
DEVICE=C:\DEV\HITACHIA.SYS /D:MSCD000 /N:1 /P:360
The number which follows the /P: is the Port address. If there
is no /P:, then the address used is 300. In the example line
above, 360 is the port address in use.
If you want to automatically lock the drive when booting, add the
name of the lock file to the AUTOEXEC.BAT immediately after the
line containing the MSCDEX.EXE line. The MSCDEX.EXE line should
be the first line, and LOCK.EXE should be on the second line for
maximum protection.
These files send a software unlock command to all four drives at
the address:
KCOL300.EXE KCOL200.EXE KCOL220.EXE KCOL320.EXE KCOL340.EXE
KCOL360.EXE
Kcol is lock spelled in reverse order. Select the unlock file
which matches the base address used on the interface card and
lock file. Copy it and rename it as needed. If used on a system
available to the public, put it in some subdirectory to hide it,
or name it something you can remenber. Otherwise, name it
UNLOCK.EXE.
The files should maintain the .EXE extension to operate.
Remember: Software lock is cleared if the drive power is turned
OFF, and back ON, or by software reset or computer reset. Even
if the LOCK command is executed in the AUTOEXEC.BAT file, there
will be a period of time where the disc is unprotected, and the
drive Eject or Open/Close switch will operate.
Some software will reset the drive when the application first
starts, and audio player software which uses Lock or has a Reset
function, will clear the software lock. If an application
program recovers from a drive or program error by resetting the
drive or computer, that may clear the lock mode.
Software lock is provided on the drive for applications to use so
the application doesn't have to keep checking to see if the disc
has been changed by the user.
My locking program takes advantage of the feature to minimize
disc losses and program errors caused by attempting to read a
disc which was ejected by someone during trade shows and other
demos.
The locking and unlocking files are Freeware and may be copied
for use as needed. As Freeware, the programs may not be sold.
Any duplication fees for a floppy disk containing these programs
may not exceed the fee currently charged by PC-SIG for a similar
disk. I would appreciate notification if you distribute these
programs for a fee or if they become part of any CD-ROM disc.
The programs are user written software and are not approved or
supported by any Hitachi company or division. You willingly
accept any and all risks involved in their use (or your inability
to use the programs), including any CD-ROM discs stolen by users
while the program is in use.
Be sure to use only the file which matches the address of your
interface card. This will avoid problems caused by the program
"talking" to something other than the Hitachi drive.
The programs were created using Quick C. Unlike my Forth locking
software, these programs do not check lock status, or make any
report that anything has happened when run. You simply return to
the DOS prompt when the program finishes or times out. If the
lock program is used with the tray open or no cartridge
installed, and the power is on, the disc will gemerally be locked
when it is inserted.
The programs are hardware direct. Only the PC bus interface
cards combined with the Hitachi CD-ROM bus drives are supported.
These hardware direct programs are smaller than a similar
extensions based program. Very fast computers may overrun the
timeout loops, or the lock/unlock command may not operate, or
only sometimes work.
The locking software is based on my hardware direct audio CD
player software, "Forthplay" created with F83 Forth, and
"Romplay" in Gwbasic.
This Freeware is dedicated to all the other people who create
free software for any computer system. Thanks... Roscoe